package com.econ.powercloud.ems.dal.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * 储能站并离网的组合表
 * @author jwc
 * @since 2022/08/26
 */
@Data
@TableName(value = "ems_grid_process_group")
public class EmsGridProcessGroup {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 储能站id
     */
    @TableField(value = "energy_station_id")
    private String energyStationId;

    /**
     * 类型，1：并网流程，2：离网流程
     */
    @TableField(value = "`type`")
    private Integer type;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 按钮名称
     */
    @TableField(value = "button_name")
    private String buttonName;

    /**
     * 步骤序号
     */
    @TableField(value = "order_num")
    private Integer orderNum;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}